<template>
    <div class="app-container">
        <!--信审信息-->
        <credit-info :detail-info="detailInfo"></credit-info>
        <!--申报人信息-->
        <apply-person-info :reporter-info="detailInfo"></apply-person-info>
        <!--客户信息-->
        <customer-info :customer-info="detailInfo.customer" :application-no="detailInfo.applicationNo"></customer-info>
        <!--订单信息-->
        <order-info :order-info="detailInfo.order" :cars="detailInfo.cars" :clueClassification="detailInfo.customer.clueClassification"></order-info>
        <!--担保人信息(有担保人信息就展示,没有就不展示)-->
        <guarantor-info v-if="detailInfo.personal||detailInfo.enterprise" :personal="detailInfo.personal" :enterprise="detailInfo.enterprise"></guarantor-info>
        <!--买受人信息(租购的时候显示)-->
        <vendee-info v-if="detailInfo.vendee" :vendee-info="detailInfo.vendee"></vendee-info>
        <!--信审资料-->
        <letter-review-files-info :detail-info="detailInfo"></letter-review-files-info>
        <!--信审批复建议-->
        <reply-suggestion-flow-info :detail-info="detailInfo.record"></reply-suggestion-flow-info>
    </div>
</template>

<script>
import OrderInfo from "@/views/letterReview/letterReview/components/OrderInfo.vue";
import LetterReviewFilesInfo from "@/views/letterReview/letterReview/components/LetterReviewFilesInfo.vue";
import ApplyPersonInfo from "@/views/letterReview/letterReview/components/ApplyPersonInfo.vue";
import GuarantorInfo from "@/views/letterReview/letterReview/components/GuarantorInfo.vue";
import CustomerInfo from "@/views/letterReview/letterReview/components/CustomerInfo.vue";
import ReplySuggestionFlowInfo from "@/views/letterReview/letterReview/components/ReplySuggestionFlowInfo.vue";
import VendeeInfo from "@/views/letterReview/letterReview/components/VendeeInfo.vue";
import CreditInfo from "@/views/letterReview/letterReview/components/CreditInfo.vue";
export default {
    components: {VendeeInfo, ReplySuggestionFlowInfo, CustomerInfo, GuarantorInfo, ApplyPersonInfo, LetterReviewFilesInfo, OrderInfo,CreditInfo},
    props:{
        value: {
            default: {},
        },
        state: {
            default: "readonly",
        },
    },
    computed:{
        detailInfo:{
            get(){
                console.log('工作流待办详情-------',this.value)
                return this.value;
            }
        }
    },
    data() {
        return {}
    },
    methods: {},
    mounted() {
    },

}
</script>

<style lang="scss" scoped>
</style>
